Skip to content

Conversation

@pull
Copy link

@pull pull bot commented May 27, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )


📚 Documentation preview 📚: https://cpython-previews--615.org.readthedocs.build/

picnixz and others added 5 commits May 27, 2025 10:15
Some curses module-level functions and window methods now raise
a `curses.error` when a call to a C curses function fails:

- Module-level functions: assume_default_colors, baudrate, cbreak,
  echo, longname, initscr, nl, raw, termattrs, termname, and unctrl.
- Window methods: addch, addnstr, addstr, border, box, chgat,
  getbkgd, inch, insstr, and insnstr.

In addition, `curses.window.refresh` and `curses.window.noutrefresh`
now raise a `TypeError` instead of a `curses.error` when called with an
incorrect number of arguments for pads.

See also ee36db5 for similar
changes.
Co-authored-by: Wulian233 <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Fix also reference leak on buffer overflow.
* FOR_ITER now pushes either the iterator and NULL or leaves the iterable and pushes tagged zero

* NEXT_ITER uses the tagged int as the index into the sequence or, if TOS is NULL, iterates as before.
Co-authored-by: Petr Viktorin <[email protected]>
Co-authored-by: Steve Dower <[email protected]>
@pull pull bot added the ⤵️ pull label May 27, 2025
@pull pull bot merged commit c3c8806 into TechPenguineer:main May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants